package com.aliyun.heiyu.powermaster.server.dao;

import com.aliyun.heiyu.powermaster.server.dao.entity.RackConfigMetaEntity;

import java.sql.SQLException;

public interface RackConfigMetaDao {
    RackConfigMetaEntity findOneByCabinet(String cabinetSn);

    boolean insert(RackConfigMetaEntity rackConfigMeta) throws SQLException;

    boolean update(RackConfigMetaEntity rackConfigMeta) throws SQLException;

    boolean delete(String cabinetSn) throws SQLException;

    boolean delete(String[] cabinetSns) throws SQLException;
}
